<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>产品展示页面</title>
<link type="text/css" rel="stylesheet" href="./css/productshow.css">
<script type="text/javascript" src="./js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="./js/productshow.js"></script>
</head>
<body>
<div id="bigback">
	<div class="register">
					<div
						style="text-align: center; height: 30px; background-color: #c0c0c0; line-height: 30px; letter-spacing: 8px;">
						编辑信息
						<button style="float: right; font-size: 5px;"
							onclick="register_close()">x</button>
					</div>
					<form action="" style="text-align: center">
						<p>
							昵称：<input type="text" id="username" placeholder="(必填)">
						</p>
						<p>
							密码：<input type="text" id="userpass" placeholder="(必填)">
						</p>
						<p>
							密码确认：<input type="text" id="" placeholder="(必填)">
						</p>
						<p>
							性别：<input type="text" id="usersex" placeholder="(必填)">
						</p>
												<p>
							身份证号码：<input type="text" id="usercard" placeholder="(必填)">
						</p>
												<p>
							年龄：<input type="text" id="userage" placeholder="(必填)">
						</p>
												<p>
							家庭住址：<input type="text" id="useraddress" placeholder="(必填)">
						</p>
												<p>
							邮箱：<input type="text" id="useremil" placeholder="(必填)">
						</p>
												<p>
							联系电话：<input type="text" id="userphone" placeholder="(必填)">
						</p>
						<input type="button" value="注册" onclick="reg()" style="margin-top: 10px;">
						<input type="reset" value="清空" style="margin-top: 10px;">
					</form>
				</div>
				
				<div class="login">
					<div
						style="text-align: center; height: 30px; background-color: #c0c0c0; line-height: 30px; letter-spacing: 8px;">
						登录
						<button style="float: right; font-size: 5px;"
							onclick="login_close()">x</button>
					</div>
					<form action="/userLogproductshow" style="text-align: center">
						<p>
							昵称：<input type="text" placeholder="(必填)" name="userName">
						</p>
						<p>
							密码：<input type="text" placeholder="(必填)" name="userPassword">
						</p>
						<input type="submit" value="登录" style="margin-top: 10px;">
						<input type="button" value="取消" style="margin-top: 10px;" onclick="login_close()">
					</form>
				</div>
<div id="sl_top" style="background-image:url('img/topimage1.jpg');"></div>
<div id="sl_index">
<div id="zhu_bq"></div>
<div id="x_top">

<div id="dl_bq">
<items="${Log}" var="Log">
<a id="delu" onclick="login()">${Log.name}</a>
&nbsp&nbsp&nbsp<a onclick="register()"><font color=red>免费注册</font></a></div>
<div id="ss_bq">
<input type="text" id="search_text">
<div id="search_img" onclick="searchthing()" style="background-image:url('img/ss_img.jpg');"></div>
</div>
</div>

<div id="food_from">
<c:forEach items="${products}" var="product">
<div class="food_from_1">
<div id="food_pro1" class="food_pro">
<div id="food_image1" class="food_image" style="background-image:url(${product.productPhoto});"></div>
<div id="food_name1" class="food_name"><a>${product.productName}</a></div>
</div>
<div id="food_price1" class="food_price"><font color=red>￥${product.productPrice}0/件</font></div>
</div>
</c:forEach>
</div>
<div id="nextpages">
<button id="toppage" style="margin-top:10px;margin-left:39%;" onclick="toppage()" onclick="toppage()">上一页</button>
<input type="text" id="pagetext"></input>
<button id="searchpage" onclick="searchpage()" onclick="searchpage()">跳转</button>
<button id="nextPage" onclick="nextpage()">下一页</button>
	</div>
	<c:forEach items="${products}" var="product">
	<input type="text" id="hidecount1"  value="${product.productTypeID}" style="display:none"></input>
	</c:forEach>
						<input type="text" id="hidecount"  value="${count}" style="display:none"></input>
								
  </div>
</div>
</div>
</div>
<div id="footer" style="position:absolute;left:40%;bottom:0;text-align :center; background-color:#400040“;clear:both;">
		<p>xxx企业在线营销系统&nbsp;&nbsp;&nbsp;copyright@2017年4月20日</p>
	</div>
</body>
</html>